package com.aiyige.model.moment.entity;

import com.aiyige.model.moment.backup.TagBackup;

import java.io.Serializable;
import java.util.List;

/**
 * 功能: 浏览记录. <br/>
 *
 * @author wangzhijun
 * @date 2018-01-16 17:53
 * @since JDK 1.8
 */
public class ViewRecord implements Serializable {
    private String id;

    /**
     * MomentID
     */
    private String momentId;
    /**
     * Moment信息备份
     */
    private Moment momentBackup;
    /**
     * Moment的主题
     */
    private String momentSubject;
    /**
     * Moment的标题
     */
    private String momentTitle;
    /**
     * Moment的标签
     */
    private List<TagBackup> momentTags;
    /**
     * 浏览人ID
     */
    private String creator;
    /**
     * 浏览人手机设备号（未登录用户，已登录不记录）
     */
    private String deviceId;
    /**
     * 浏览时间
     */
    private Long createTime;

    private Long updateTime;

    public boolean isSeach() {
        return isSeach;
    }

    public void setSeach(boolean seach) {
        isSeach = seach;
    }

    private boolean isSeach;

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    public boolean isSelected() {
        return isSelected;
    }

    public void setSelected(boolean selected) {
        isSelected = selected;
    }

    private boolean isSelected;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getMomentId() {
        return momentId;
    }

    public void setMomentId(String momentId) {
        this.momentId = momentId;
    }

    public Moment getMomentBackup() {
        return momentBackup;
    }

    public void setMomentBackup(Moment momentBackup) {
        this.momentBackup = momentBackup;
    }

    public String getMomentSubject() {
        return momentSubject;
    }

    public void setMomentSubject(String momentSubject) {
        this.momentSubject = momentSubject;
    }

    public String getMomentTitle() {
        return momentTitle;
    }

    public void setMomentTitle(String momentTitle) {
        this.momentTitle = momentTitle;
    }

    public List<TagBackup> getMomentTags() {
        return momentTags;
    }

    public void setMomentTags(List<TagBackup> momentTags) {
        this.momentTags = momentTags;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }
}
